package pattern3;

/**
 * 装饰模式中的具体构件，也就是被装饰的对象
 * @author wdl
 */
public class Person {
    public Person() {

    }

    private String name;

    public Person(String name) {
        this.name = name;
    }

    public void show() {
        System.out.println("装扮的" + name);
    }
}
